//
//  vector.h
//  Void Dead
//
//  Created by Sidney Just on 02.07.09.
//  Copyright 2009 by Sidney Just
//  This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; 
//  either version 3 of the License, or (at your option) any later version.
//  
//  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty 
//  of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
//  

#import <OpenGLES/EAGL.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>

#import <Foundation/Foundation.h>
//#import "VDead.h"

@interface VD_Vector : NSObject {
	GLfloat x, y, z;
}

@property GLfloat x, y, z;

- (void)vec_set:(VD_Vector *)vec;
- (void)vec_fill:(float)var;
- (void)vec_add:(VD_Vector *)vec;
- (void)vec_sub:(VD_Vector *)vec;
- (float)vec_dist:(VD_Vector *)vec;
- (void)vec_inverse;
- (float)vec_length;
- (void)vec_scale:(float)factor;

@end
